require 'rubygems'

namespace :zhui do  
  desc "daily_stat"
  
  task :tian_ya => :environment do
    HotPost::TianYa.capture_all!
  end
  
  task :tian_ya_new => :environment do
    HotPost::TianYa.capture_new!
  end
  
  task :tian_ya_send_emails => :environment do
    FollowHotPostSetting.send_emails
  end
  
  task :tian_ya_send_sms => :environment do
    FollowHotPostSetting.send_sms
  end
end